﻿using System;

namespace Chess
{
    /// <summary>
    /// Using to send a selected figure type
    /// in choose figure box.
    /// </summary>
    class FigureEventArgs : EventArgs
    {
        protected FigureTypes figure;
        public FigureTypes Figure
        {
            get { return figure; }
        }

        public FigureEventArgs(FigureTypes figure)
        {
            this.figure = figure;
        }
    }

    /// <summary>
    /// Using for saving figure number
    /// to chang it model.
    /// </summary>
    class FigureNumberEventArgs : EventArgs
    {
        protected int number;
        public int Number
        {
            get { return number; }
        }

        public FigureNumberEventArgs(int number)
        {
            this.number = number;
        }
    }
}
